package com.ask.service.businessService;

import com.ask.dto.LoginFormDTO;
import com.ask.dto.Result;
import com.ask.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpSession;


public interface IUserService extends IService<User> {
    Result sendCode2Session(String phone, HttpSession session);

    Result loginBySession(String phone, String code, HttpSession session);

    Result sendCode2Redis(String phone);

    Result loginByRedis(LoginFormDTO loginForm);

    Result getUserInfo();

    Result sign();

    Result signCount();
}
